package com.ym.ms.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.ym.ms.controller.AppLoginController;
import com.ym.ms.entity.sys.*;
import com.ym.ms.mapper.*;
import com.ym.ms.service.ISystemUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author zhang
 */
@Service
public class SystemUserImpl implements ISystemUserService {
    private static final org.slf4j.Logger LOG = org.slf4j.LoggerFactory.getLogger(AppLoginController.class);
    @Resource
    private ISystemSobMapper sysSobMapper;


    @Override
    public List<TSystemSob> qrySobLst() {
        QueryWrapper<TSystemSob> queryWrapper = new QueryWrapper<>();
        queryWrapper.eq("is_delete", "0");
        List<TSystemSob> sobs = sysSobMapper.selectList(queryWrapper);
        return sobs;
    }

}
